package com.itany.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 石小俊
 */
@Data
//@TableName(value = "t_emp",excludeProperty = "id")
@TableName(value = "t_emp")
public class Emp {
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    private String name;
    private Double salary;
}
